export default (listeners = {}) => {
    return {
        itemStyle: {padding: '0px 0px 0px 0px'},
        rules: {},
        formItems: [
            {
                field: 'name',
                type: 'input',
                label: '导入名称',
            },
            {
                field: 'code',
                type: 'input',
                label: '导入编号',
            },
            {
                field: 'fileName',
                type: 'input',
                label: '导入文件名称',
            },
            {
                field: 'fileSize',
                type: 'input',
                label: '文件大小',
            },
            {
                field: 'delFlag',
                type: 'input',
                label: '删除标志',
            },
            {
                field: 'deptId',
                type: 'input',
                label: '部门ID',
            },
            {
                field: 'createById',
                type: 'input',
                label: '创建者ID',
            },
            {
                field: 'remark',
                type: 'textarea',
                label: '备注',
                config: {
                    autosize: {minRows: 4, maxRows: 6},
                    maxlength: 500,
                    showWordLimit: true,
                },
                layout: {
                    xl: {span: 24},
                    lg: {span: 24},
                    md: {span: 24},
                    sm: {span: 24},
                    xs: {span: 24},
                }
            },

        ],
        colLayout: {
            xl: 24,
            lg: 24,
            md: 24,
            sm: 24,
            xs: 24,
        },
        elFormConfig: {
            labelWidth: '80px',
        },
    }
}
